package com.spic.business.informatization.before_after_work.service;

import com.spic.business.informatization.before_after_work.domain.MeetingBeforWorkSearchRecord;

import java.util.List;
import java.util.Map;

/**
 * 班前班后会会议地点搜索记录框Service接口
 *
 * @author yangjie
 * @date 2021-11-24
 */
public interface MeetingBeforWorkSearchRecordService
{
    /**
     * 查询班前班后会会议地点搜索记录框
     *
     * @param id 班前班后会会议地点搜索记录框主键
     * @return 班前班后会会议地点搜索记录框
     */
    MeetingBeforWorkSearchRecord selectMeetingBeforWorkSearchRecordById(String id);

    /**
     * 查询班前班后会会议地点搜索记录框列表
     *
     * @param meetingBeforWorkSearchRecord 班前班后会会议地点搜索记录框
     * @return 班前班后会会议地点搜索记录框集合
     */
    List<MeetingBeforWorkSearchRecord> selectMeetingBeforWorkSearchRecordList(MeetingBeforWorkSearchRecord meetingBeforWorkSearchRecord);

    Map<String,Object> selectMeetingBeforWorkSearchRecordMap(Long deptId);
    /**
     * 新增班前班后会会议地点搜索记录框
     *
     * @param meetingBeforWorkSearchRecord 班前班后会会议地点搜索记录框
     * @return 结果
     */
    int insertMeetingBeforWorkSearchRecord(MeetingBeforWorkSearchRecord meetingBeforWorkSearchRecord);

    /**
     * 修改班前班后会会议地点搜索记录框
     *
     * @param meetingBeforWorkSearchRecord 班前班后会会议地点搜索记录框
     * @return 结果
     */
    int updateMeetingBeforWorkSearchRecord(MeetingBeforWorkSearchRecord meetingBeforWorkSearchRecord);

    /**
     * 批量删除班前班后会会议地点搜索记录框
     *
     * @param ids 需要删除的班前班后会会议地点搜索记录框主键集合
     * @return 结果
     */
    int deleteMeetingBeforWorkSearchRecordByIds(Long[] ids);

    /**
     * 删除班前班后会会议地点搜索记录框信息
     *
     * @param id 班前班后会会议地点搜索记录框主键
     * @return 结果
     */
    int deleteMeetingBeforWorkSearchRecordById(Long id);


}
